package com.core.service;

import com.core.domain.DTO.LygStadiumDTO;
import com.core.domain.Stadium;
import com.core.domain.User;

import java.util.List;

/**
 * @author 刘玉贵
 * @version 666
 */
public interface LygService {
    List<LygStadiumDTO> selectAllStadium();

    int countById(int id);

    void insertResInf(java.sql.Timestamp start,java.sql.Timestamp end,int teamId,int userId,int reservedNumber);

    Integer isBooked(Integer userId,Integer teamId);

    void delete(Integer userId,Integer teamId);

    User getInf(Integer userId);

    void update(User user);
}
